package com.heima.apis.admin;

import com.heima.model.admin.dtos.SensitiveDto;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;
import io.swagger.annotations.ApiOperation;

public interface AdSensitiveControllerApi {
    @ApiOperation("敏感词查询")
    public ResponseResult findAll(SensitiveDto sensitiveDto);

    @ApiOperation("敏感词新增")
    public ResponseResult insert(AdSensitive adSensitive);

    @ApiOperation("敏感词修改")
    public ResponseResult update(AdSensitive adSensitive);

    @ApiOperation("敏感词删除")
    public ResponseResult deleteById(Integer id );
}
